var ClubGroup_Hequnshuju_Item = Item.extend({
    _ccsFileName: res.ClubGroup_Hequnshuju_Item_json,
    _clubId: null,
    initItem: function (p1, p2) {
        this._clubId = p2;
    },
    refreshData: function (data) {
        loadHeadImage(data.headimgurl, this._nodeList['mergeData.sp_head'], true);
        var clubOwnerId = ClubDataManager.getClubOwnerUid(this._clubId);
        var clubOwnerName = ClubDataManager.getClubOwnerName(this._clubId);
        if (data.group.op_uid == 0){
            this._nodeList['mergeData.txt_name'].setString(clubOwnerName);
            this._nodeList['mergeData.txt_id'].setString(clubOwnerId);
        }
        else {
            this._nodeList['mergeData.txt_name'].setString(data.group.name);
            this._nodeList['mergeData.txt_id'].setString(data.group.op_uid);
        }
        this._nodeList['mergeData.txt_playerCount'].setString(data.playerCnt || 0);
        this._nodeList['mergeData.txt_totalRoomNum'].setString(data.totalCount || 0);
        this._nodeList['mergeData.txt_totalScore'].setString(data.totalScore || 0);
        this._nodeList['mergeData.txt_totalWinRoomNum'].setString(data.winnerCount || 0);
        this._nodeList['mergeData.txt_totalWinScore'].setString(data.winnerScore || 0);
        this._nodeList['mergeData.txt_totalPlayerNum'].setString(data.playerNum || 0);
    }
});